package main.simplefactory;

/**
 * 他是实际的对象，也就是本身对象具有的职责
 * @author kejl
 * @version test
 * @date 2020/5/17 21:32
 */
public class UserDAO {

    private String username;
    private String password;

    public UserDAO(String username,String password) {
        this.username = username;
        this.password = password;

    }

    public void doaction(){
        System.out.println(username+"============"+password);
    }


}
